//卸下坐骑 {"序列":0}
// @ts-ignore
export async function execute(client_id,message_json) {
    let characters = G.Characters.get_current_login_characters(client_id);
    let mounts_data = characters["坐骑"];
    if (mounts_data === undefined) {
        ClientUtils.send_basic_prompt(client_id, "未乘骑坐骑");
        return;
    }
    let index = mounts_data["index"];
    if(index !== undefined){
        characters["坐骑列表"][index]["参战信息"] = undefined;
    }
    characters["坐骑"]=null;
    ClientUtils.send_basic_prompt(client_id,"#Y下乘坐骑成功！");
    //刷新角色信息
    ClientUtils.send_client_message(client_id,33,characters);
    ClientUtils.send_client_message(client_id,60,"1");
    G.MapUtils.update_mounts(characters["id"]);
}